#pragma once

#include <stddef.h>
#include <stdint.h>

#if !defined(uchar)
typedef unsigned char uchar;
#endif

#if !defined(u8)
typedef unsigned char u8;
#endif

#if !defined(uint8_t)
typedef unsigned char uint8_t;
#endif

#if !defined(uint16_t)
typedef unsigned short uint16_t;
#endif

#if !defined(u16)
typedef unsigned short u16;
#endif

#if !defined(uint32_t)
typedef unsigned int uint32_t;
#endif

#if !defined(uint)
typedef unsigned int uint;
#endif

#if !defined(u32)
typedef unsigned int u32;
#endif

#if !defined(u64)
typedef unsigned long u64;
#endif

#if !defined(uint64_t)
typedef unsigned long uint64_t;
#endif

#ifndef UINT32_MAX
#define UINT32_MAX (4294967295)
#endif
